<template>
  <el-container class="images_admin-layout">
    <el-aside class="images_admin-layout__aside" width="200px">
      <slot name="menu"></slot>
    </el-aside>
    <el-container>
      <slot name="content"></slot>
    </el-container>
  </el-container>
</template>

<script lang="ts">
import { Vue, Component, Watch } from "vue-property-decorator";
import { namespace, State } from "vuex-class";

import { Route, RouteRecord } from "vue-router";
import { EventBus, Screenfull } from "feok-lib";
import { filter } from "lodash";
import UserAvatar from "@/components/UserAvatar.vue";
import SysManagement from "@/components/SysManagement.vue";

const userModule = namespace("user");
const appModule = namespace("app");

Component.registerHooks(["beforeRouteEnter"]);

@Component({
  components: {}
})
export default class MainLayout extends Vue {}
</script>

<style lang="less" scoped>
.images_admin-layout {
  display: flex;
  &__aside {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #f3f5f5;
    transition: width 0.5s;
    overflow-x: hidden;
  }
}
</style>
